package com.ruoyi.bussiness.service;

import java.util.List;
import com.ruoyi.bussiness.domain.SysBusinessDynamicType;
import com.ruoyi.bussiness.domain.SysBusinessPolicy;
import com.ruoyi.common.core.domain.AjaxResult;

/**
 * 业务-动态类别Service接口
 *
 * @author ruoyi
 * @date 2023-12-12
 */
public interface ISysBusinessDynamicTypeService
{
    /**
     * 查询业务-动态类别
     *
     * @param dynamicTypeId 业务-动态类别主键
     * @return 业务-动态类别
     */
    public SysBusinessDynamicType selectSysBusinessDynamicTypeByDynamicTypeId(Long dynamicTypeId);

    /**
     * 查询业务-动态类别列表
     *
     * @param sysBusinessDynamicType 业务-动态类别
     * @return 业务-动态类别集合
     */
    public List<SysBusinessDynamicType> selectSysBusinessDynamicTypeList(SysBusinessDynamicType sysBusinessDynamicType);

    /**
     * 新增业务-动态类别
     *
     * @param sysBusinessDynamicType 业务-动态类别
     * @return 结果
     */
    public int insertSysBusinessDynamicType(SysBusinessDynamicType sysBusinessDynamicType);

    /**
     * 修改业务-动态类别
     *
     * @param sysBusinessDynamicType 业务-动态类别
     * @return 结果
     */
    public int updateSysBusinessDynamicType(SysBusinessDynamicType sysBusinessDynamicType);

    /**
     * 批量删除业务-动态类别
     *
     * @param dynamicTypeIds 需要删除的业务-动态类别主键集合
     * @return 结果
     */
    public int deleteSysBusinessDynamicTypeByDynamicTypeIds(Long[] dynamicTypeIds);

    /**
     * 删除业务-动态类别信息
     *
     * @param dynamicTypeId 业务-动态类别主键
     * @return 结果
     */
    public int deleteSysBusinessDynamicTypeByDynamicTypeId(Long dynamicTypeId);

    AjaxResult moveUpOrDown(SysBusinessDynamicType entity);

    AjaxResult pinToTopOrEnd(SysBusinessDynamicType entity);
}
